<template>
  <div @click="a()">
    <Loading ref="loading" />
  </div>
</template>

<script>
import Loading from '~/components/Loading.vue'
export default {
  components: { Loading },
  layout: "index",
  methods:{
    a(){
      this.$router.push("/mainPage/main")
      this.$refs.loading.end()
    }
  }
}
</script>
<style lang="scss">

</style>
